Class sjl.wrappers.FuncWriterInteger
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sjl.wrappers.FuncWriterInteger

java.lang.Object
   |
   +----sjl.wrappers.FuncWriterInteger

public class FuncWriterInteger
extends Object
implements Function2
FuncWriterInteger is a function object designed for writing objects type Integer onto a DataOutputStream. Objects of this class is used by the OutputStreamIterator.

Copyright © 1996 Finn Bock


Constructor Index

 o FuncWriterInteger()

Method Index

 o perform(Object, Object)
Convert the second argument to Integer and write it to the DataOutputStream specified by the first argument.

Constructors

 o FuncWriterInteger
  public FuncWriterInteger()

Methods

 o perform
  public Object perform(Object stream,
                        Object o)
Convert the second argument to Integer and write it to the DataOutputStream specified by the first argument. The writeInt(Integer) method is called to do the writing. The return value is ignored.
Parameters:
stream - The DataOutputStream.
o - The object that will be written.

All Packages  Class Hierarchy  This Package  Previous  Next  Index